package sg.edu.nus.iss.vcsworkshop;

import java.util.Date;

public class Greeting {

	public static void main(String [] args){
		Date date = new Date(System.currentTimeMillis());
		int hours = date.getHours();
		if(hours>=0 && hours<12)
			System.out.println("Good Morning!");
		else if(hours>=12 && hours<18)
			System.out.println("Good afternoon!");
		else 
			System.out.println("Good evening!");
	}
}
